Previous Book Contents Book Index Next

Inside Macintosh: Open Transport /
Chapter 2 - Providers / Providers Reference
Functions / Controlling a Provider's Mode of Operation


OTIsNonBlocking

Returns a provider's current blocking status.

C INTERFACE
Boolean OTIsNonBlocking(ProviderRef ref);
C++ INTERFACE
Boolean TProvider::IsNonBlocking();
PARAMETERS
ref
The provider reference of the provider whose blocking status
is sought.
DESCRIPTION
The OTIsNonBlocking function returns true if the provider's current blocking status is nonblocking or returns false if it is blocking.

SEE ALSO
Blocking is described in "Setting a Provider's Blocking Status" on page 2-10.

To set a provider's blocking status to blocking, call the OTSetBlocking function (page 2-32). To set a provider's blocking status to nonblocking, call the OTSetNonBlocking function (page 2-33).

Blocking attributes affect endpoint providers more than other providers. For more information see the discussion about modes of operation in the chapter "Endpoints" in this book.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 AUG 1996